package com.iversonx.facade.example_1.remote.impl;

import com.iversonx.facade.example_1.remote.InventoryService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 *
 **/
@Service
public class InventoryServiceImpl implements InventoryService {
    private final Logger logger = LoggerFactory.getLogger(InventoryServiceImpl.class);
    
    @Override
    public void update(int productId) {
        logger.info("Product# {} is subtracted from store's inventory.", productId);
    }
}
